package com.android.quiz.geek.utils;

import java.util.ArrayList;

import com.android.quiz.geek.quiz.Question;
import com.android.quiz.geek.quiz.Questions;

public class InitQuestion
{
	public static Questions generateQuestions()
	{
		Questions q = new Questions();
		
		Question qst = new Question(); 
		qst.setQuestion("De qu\'elle livre viens le fameux chiffre 42 ?");
		qst.setGoodReponse("Le Livre du voyage galatictique");
		ArrayList<String> r = new ArrayList<String>();
		r.add(0, "Le Livre du voyage galatictique");
		r.add(0, "reponse 2");
		r.add(0, "reponse 3");
		r.add(0, "reponse 4");
		qst.setReponse(r);
		q.addQuestion(qst);
		
		Question qst2 = new Question(); 
		qst2.setQuestion("De qu\'elle livre viens le fameux chiffre 42 ? 2");
		qst2.setGoodReponse("Le Livre du voyage galatictique");
		ArrayList<String> r2 = new ArrayList<String>();
		r2.add(0, "Le Livre du voyage galatictique");
		r2.add(0, "reponse 2");
		r2.add(0, "reponse 3");
		r2.add(0, "reponse 4");
		qst2.setReponse(r2);
		q.addQuestion(qst2);
		
		Question qst3 = new Question(); 
		qst3.setQuestion("De qu\'elle livre viens le fameux chiffre 42 ? 3");
		qst3.setGoodReponse("Le Livre du voyage galatictique");
		ArrayList<String> r3 = new ArrayList<String>();
		r3.add(0, "Le Livre du voyage galatictique");
		r3.add(0, "reponse 2");
		r3.add(0, "reponse 3");
		r3.add(0, "reponse 4");
		qst3.setReponse(r3);
		q.addQuestion(qst3);
		
		return q;
	}
}	
